package day004;

public class MethodTest02 {
    public static void main(String[] args) {
        boolean flag = compare(10, 20);
        System.out.println(flag);

        flag = compare(10, 10);
        System.out.println(flag);
    }

    public static boolean compare(int a, int b) {
//        boolean flag = (a == b) ? true : false;
//        return flag;

        return a == b;
    }
}
